package cn.jyj.springframework.core.io;

/**
 * @Author 老顽固小可爱
 * @Date 2023/1/8 17:42
 * @Version 1.0
 */
public interface ResourceLoader {

    /**
     * Pseudo URL prefix for loading from the class path: "classpath:"
     * 定义获取资源接口，里面传递 location 地址即可。
     */
    String CLASSPATH_URL_PREFIX = "classpath:";

    Resource getResource(String location);

}

